<?php
/** .-------------------------------------------------------------------
* |    Author: 熊伟洋 <chelious@foxmail.com>
* |    WeChat: hello_McGrady
* |    	   QQ: 434493420
* |     Motto: Hungry & Humble
* |---------------------------------------------------------------------
* |    Copyright (c) 2012-2020, www.chelious.com. All Rights Reserved.
* '-------------------------------------------------------------------*/

namespace app\admin\controller;

/**
 * Class Common
 * @package app\admin\controller
 * 公共控制器
 */
class Common{

    //判断用户是否登录
    public function __construct()
    {
        if(!$_SESSION['admin']){
            message('请先登录',u('admin.user.login'),'success');
        }
    }


}
